Silicon Labs /EFR32ZG23B021F512IM40 /PCNT0_S /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (S1CDIR)S1CDIR 0 (UP)CNTDIR 0 (POS)EDGE 0 (BOTH)CNTEV 0 (BOTH)AUXCNTEV

AUXCNTEV=BOTH, EDGE=POS, CNTDIR=UP, CNTEV=BOTH

Description

No Description

Fields

S1CDIR

Count Direction Determined By S1

CNTDIR

Non-Quadrature Mode Counter Direction Co

0 (UP): Up counter mode.

1 (DOWN): Down counter mode.

EDGE

Edge Select

0 (POS): Positive edges on the PCNTn_S0IN inputs are counted in OVSSINGLE mode. Does not invert PCNTn_S1IN input in OVSSINGLE and EXTCLKSINGLE modes

1 (NEG): Negative edges on the PCNTn_S0IN inputs are counted in OVSSINGLE mode. Inverts the PCNTn_S1IN input in OVSSINGLE and EXTCLKSINGLE modes

CNTEV

Controls When the Counter Counts

0 (BOTH): Counts up on up-count and down on down-count events.

1 (UP): Only counts up on up-count events.

2 (DOWN): Only counts down on down-count events.

AUXCNTEV

Controls When the Aux Counter Counts

0 (BOTH): Counts up on both up-count and down-count events.

1 (UP): Counts up on up-count events.

2 (DOWN): Counts up on down-count events.

Links

()